<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: Master
  Date: 2023/2/2
  Time: 10:38
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <link rel="stylesheet" href="css/common.css">
</head>
<body>
<form action="/update" method="post">
    <input type="hidden" name="id" value="${brandModel.id}">
    <div class="justify-content-start">
        <div>名片名称</div>
        <div><input type="text" name="name" value="${brandModel.name}"></div>
    </div>
    <div class="justify-content-start">
        <div>企业名称</div>
        <div><input type="text" name="enterprise" value="${brandModel.enterprise}"></div>
    </div>
    <div class="justify-content-start">
        <div>排序</div>
        <div><input type="number" name="sort" value="${brandModel.sort}"></div>
    </div>
    <div class="justify-content-start">
        <div>品牌介绍</div>
        <div><input type="text" name="introduction" value="${brandModel.introduction}"></div>
    </div>
    <div class="justify-content-start">
        <div>状态</div>
        <div>
            <c:if test="${brandModel.status==1}">
                <input type="radio" name="status" value="1" checked>启用
                <input type="radio" name="status" value="0">禁用
            </c:if>
            <c:if test="${brandModel.status!=1}">
                <input type="radio" name="status" value="1">启用
                <input type="radio" name="status" value="0" checked>禁用
            </c:if>

        </div>
    </div>
    <div><input type="submit" value="提交"></div>
</form>
</body>
</html>
